package com.liujun.spring4.demo.aop.iocset.xmlset.refbean;

/**
 * 引用其他bean的操作
 *
 * @author liujun
 * @version 1.0
 * @date 2018-08-16 17:06:00
 */
public class Boss {

  private String name;

  private Car car;

  public void setName(String name) {
    this.name = name;
  }

  public void setCar(Car car) {
    this.car = car;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("Boss{");
    sb.append("name='").append(name).append('\'');
    sb.append(", car=").append(car);
    sb.append('}');
    return sb.toString();
  }
}
